package com.zhang.bingmei_incomeexpenditure.entity.ie.selectNew;

import com.alibaba.excel.annotation.ExcelProperty; // 2.2.10 版本的正确包路径
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class SelectDoubleVO {

    // 不需要导出的字段（不加@ExcelProperty）
    private String id;
    private String code;
    private String createBy;
    private String updateBy;

    // 需要导出的字段（只加表头注解）
    @ExcelProperty(value = "区域") // 表头名称
    private String district;

    @ExcelProperty(value = "年度")
    private Integer year;

    @ExcelProperty(value = "市级下拨经费")
    private Double cityAllocated;

    @ExcelProperty(value = "区级配套经费")
    private Double districtAllocated;

    @ExcelProperty(value = "其他（财政专项、单位自筹等）")
    private Double otherFunds;

    @ExcelProperty(value = "经费来源合计")
    private Double totalFunds;

    @ExcelProperty(value = "购置、维修、维护“防蚊、防蚊蝇”设施支出")
    private Double purchaseMaintain;

    @ExcelProperty(value = "购买消杀设备、药品支出")
    private Double purchaseEquipment;

    @ExcelProperty(value = "病媒生物防制相关宣传费、印刷费")
    private Double diseasePrevention;

    @ExcelProperty(value = "组织专家开展区内病媒防制工作研讨等支出")
    private Double expertTraining;

    @ExcelProperty(value = "购买第三方病媒防制服务支出")
    private Double thirdPartyService;

    @ExcelProperty(value = "其他不属于上述用途的支出")
    private Double otherPayment;

    @ExcelProperty(value = "已实际完成支付合计")
    private Double totalPayment;

    @ExcelProperty(value = "被收回的市级下拨经费")
    private Double cityRecovered;

    @ExcelProperty(value = "被收回的区级配套经费")
    private Double districtRecovered;

    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ExcelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}